﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_Class_Mes.aspx.cs"
    Inherits="WebSite_CodeMan.Sys_CodeMan_Manage.Admin_Class_Mes" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Css_Style/Manage.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../JavaScript/Jquery.js"></script>
    <script type="text/javascript" src="../JavaScript/Admin.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="div_All">
        <div class="Body_Title">
            内容信息管理 》》内容分类信息</div>
        <div class="Body_Search">
            <input id="BtnAdd" type="button" value="添加类别信息" onclick='javascript:location.href="Admin_Class_Update.aspx?Type=Add"' />
        </div>
        <asp:Repeater ID="RpProduct" runat="server" OnItemCommand="RpProduct_ItemCommand">
            <HeaderTemplate>
                <table cellpadding="2" cellspacing="1" class="Admin_Table">
                    <thead>
                        <tr class="Admin_Table_Title">
                            <th style="width: 12%;">
                                操作
                            </th>
                            <th style="width: 18%;">
                                类别名称
                            </th>
                            <th style="width: 10%;">
                                英文名称
                            </th>
                            <th style="width: 25%;">
                                关键字
                            </th>
                            <th style="width: 35%;">
                                简介
                            </th>
                        </tr>
                    </thead>
                    <tbody>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <a href="Admin_Class_Update.aspx?CID=<%#Eval("T_NoteClassID")%>" title="修改信息...">
                            <img src="../Images/MesEdit.gif" alt="修改信息..." /></a>&nbsp;
                            <a href="Admin_Class_Update.aspx?Type=Add&TID=<%#Eval("T_ClassLeave")%>"
                                title="添加子类...">
                                <img src="../Images/LookMes.gif" alt="添加子类..." /></a>&nbsp;
                                <asp:ImageButton class="DelClass" ID="IBDelClass" runat="server" CommandArgument='<%#Eval("T_NoteClassID")+"_"+Eval("T_ClassLeave")+"_"+Eval("T_ClassEnName")%>'
                                    CommandName="Del" ImageUrl="~/Images/Delete.gif" ToolTip="删除该类..."  ImageAlign="Middle"/>
                    </td>
                    <td>
                        <%# CheckClassNameLeave(Eval("T_ClassName"),Eval("T_ClassLeave"))%>
                    </td>
                    <td>
                        <%# Eval("T_ClassEnName")%>
                    </td>
                    <td class="TIP" mytitle="" title='<%#Eval("T_ClassKey")%>'>
                        <%# Common.GetMes.GetFirstString(Eval("T_ClassKey"), 40)%>
                    </td>
                    <td class="TIP" mytitle="" title='<%#Eval("T_ClassDes")%>'>
                        <%#  Common.GetMes.GetFirstString(Eval("T_ClassDes"), 53)%>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody></table></FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
